package cn.factorybox.item.mapper;

import cn.factorybox.model.entity.Room;

import java.util.List;
import java.util.Map;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-09-11 11:31
 */
public interface RoomMapper {
    int saverRoom(Room room);

    int updateRoom(Room room);

    List<Map<String, Object>> selectList();

    int deleteRoom(String id);

    List<Map<String, Object>> selectAllRooms();

    List<Room> selectShortList(String companyId);

    List<Room> selectNormalList(String companyId);

    List<Room> selectAllRoomsForRedisCache();

}
